<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>
    <head>
        <title>The Great Wall</title>
    </head>
    <body>
        <header>
            <jsp:include page="header.jsp"/>
        </header>
        <c:forEach var="w" items="${walls}">
            <a href="./wall?w=${w.wallName}"><c:out value="${w.wallName}"/></a>
            <c:out value="${w.wallTitle}"/>
            built by
            <a href="./user?u=${w.userName}"><c:out value="${w.userName}"/></a>
            on
            <c:out value="${w.date}"/>
            <br/>
        </c:forEach>
        <footer>
            <jsp:include page="footer.jsp"/>
        </footer>
    </body>
</html>
